#! /usr/bin/env python
#coding=utf-8

import ConfigParser
import os

class ConfigReader(object):
    
    def __init__(self):
        self.mConfig = ConfigParser.RawConfigParser()
        self.mConfig.read(os.path.join('..', 'settings.cfg'))
    
    def get(self, section, prop):
        return True if self.mConfig.get(section, prop) == 'True' else False
